/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.ac.iie.di.global;

import java.util.Random;

/**
 *
 * @author Austin
 */
public class test {

    public static void main(String[] args) {
        Random r = new Random();
        int k = 0;
        for (int i = 0; i < 10000; i++) {
            if (r.nextInt(100) < 40) {
                k++;
            }
        }
        System.out.println(k);

    }
}
